{% extends "base.html"%}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}Edit Record{% endblock %}

{% block page_content %}
<div class="container">
    {% for message in get_flashed_messages() %}
    <div class="alert alert-warning">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        {{ message }}
    </div>
    {% endfor %}
</div>

<div class="page-header">
    <h2>Edit Record</h2>
</div>

<!-- 渲染编辑表单 -->
{{ wtf.quick_form(form) }}
{% endblock %}